
<?php if ($this->hasMessages) { ?>

<ul class="flash-errors">
	<?php foreach($this->messages as $message) { ?>
		<li><?= $message ?></li>
	<?php } ?>
</ul>

<?php } ?>